
<%@page import="org.ribizli.basicgameserver.*"%>
<%@ page errorPage="error.jsp"%>
<%@ page language="java" contentType="text/javascript; charset=UTF-8"
  pageEncoding="UTF-8" trimDirectiveWhitespaces="true"
  isELIgnored="false"%>
<%!public void jspInit() {
    Game game = (Game)getServletContext().getAttribute("game");
    if (game == null) {
      game = new AmoebaGame();
  		game.init();
  		getServletContext().setAttribute("game", game);
  		System.out.println("Added");
    } else {
      System.out.println("Got");
    }
		// TODO: timeout of users
	}

	public void jspDestroy() {
	}%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
